<?php

import("data.db.file.DbGameInfo");

class GameInfo extends DbGameInfo {
	
	var $TYPE_BLOCK	= "game";
	
	public function __construct($noinit=false) {
		parent::__construct($noinit);
	}
	
	function getWidth() {
		$d = split("x",$this->getDim());
		return $d[0];
	}
	
	function getHeight() {
		$d = split("x",$this->getDim());
		return $d[1];
	}
} 
?>